<#if ajax??><#import "../layout/ajax.html" as com><#else><#import "../layout/common.html" as com></#if>
<@com.page title=title!"News" pageId="rssLinks" data={'css':'rss/rss', 'js':'rss/rss', 'ver':'a04'}>
<#import "inc/rss-links.html" as inc>
<#if ajax??>
	<@inc.renderRssLinks links=links/>
<#else>
	<div class="wrap-space">
		<div class="panel panel-default head-tab rss-links">
			<div class="panel-heading">
				<ul class="nav nav-tabs">
					<li><a href="#rss-tab" data-toggle="tabajax" ajax-href="/app/rss">Báo</a></li>
					<li class="active"><a href="#rss-entry" data-toggle="tab" data-target="#rss-links">List</a></li>
				</ul>
			</div>
			
			<div class="tab-content">
				<div class="tab-pane sites-wrap" id="rss-tab">Loading...</div>
				<div class="tab-pane active" id="rss-links">
					<div class="panel-body">${(url!"")?html}</div>
					<#if links??>
					<@inc.renderRssLinks links=links/>
					</#if>
				</div>
			</div>
		</div>
	</div>
</#if>
</@com.page>